package org.hrqing.authorization.repo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hrqing.authorization.entity.UserRole;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @auther Hrqing
 */
public interface UserRoleRepo extends JpaRepository<UserRole, String> {

    List<UserRole> findByUserId(String userId);
}
